package main

import (
	"github.com/astaxie/beego"
)

type HomeController struct {
	beego.Controller
}

func (homeController *HomeController) Get() {
	homeController.Ctx.WriteString("hello world, this is a beego implement.")
}

//使用beego实现go web
func main() {
	beego.Router("/", &HomeController{})
	beego.Run()
}
